﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ArticleList.ascx.cs" Inherits="MpSoft.Web.AdminCP.Controls.Content.ArticleList" %>
<%@ Register Src="~/AdminCP/ToolsBar/Categories.ascx" TagPrefix="uc1" TagName="Categories" %>
<%--chosen--%>
<link rel="stylesheet" href="http://static.mpsoft.vn/Context/css/plugins/chosen/chosen.css">
<%--dataTables--%>
<script src="http://static.mpsoft.vn/Context/js/plugins/jquery-ui/jquery.ui.datepicker.min.js"></script>
<%-- dataTables --%>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/jquery.dataTables.min.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/TableTools.min.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/ColReorderWithResize.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/ColVis.min.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/jquery.dataTables.columnFilter.js"></script>
<script src="http://static.mpsoft.vn/Context/js/plugins/datatable/jquery.dataTables.grouping.js"></script>
<%--  Chosen  --%>
<script src="http://static.mpsoft.vn/Context/js/plugins/chosen/chosen.jquery.min.js"></script>
<div class="row">
    <br />
    <div class="col-sm-9 category-select">
         <uc1:Categories runat="server" ID="Categories" />
    </div>
    <div class="col-sm-3 btn-form align-right">
        <a href="?mod=articleedit" class="btn btn-green btn-large"><i class="glyphicon-circle_plus">&nbsp;</i> Thêm mới</a>
        <a id="cmdDelete" href="#" class="btn btn-large"><i class="glyphicon-circle_minus">&nbsp;</i> Xóa</a>
    </div>
</div>

<div class="row">
    <div class="col-sm-12">
        <div class="box box-color box-bordered green">
            <div class="box-title">
                <h3>
                    <i class="fa fa-table"></i>
                    Danh sách bài viết
                </h3>
            </div>
            <div class="box-content nopadding">
                <table class="table table-bordered table-hover table-7 usertable table-nomargin table-striped table-article dataTable-1 dataTable-reorder">
                    <thead>
                         <tr class='thefilter'>
                            <th></th><th>&nbsp;</th><th>Tiêu đề</th><th>Tất cả</th>
                            <th><%--Thứ tự--%></th><th><%--Options--%></th><th><%--ParentID--%></th>
                        </tr>
                        <tr>
                            <th>STT</th>
                            <th><input type="checkbox" data-color="blue" data-skin="square" class="icheck-me" name="check_all" id="check_all"></th>
                            <th>Tiêu đề</th><%--<th>Module</th>--%>
                            <th>Trạng thái</th><th>Thứ tự</th><th>Options</th><th>ParentID</th>
                        </tr>
                    </thead>
                     <tbody>
                       <%= GetListCate() %>
                    </tbody>
                </table>

            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        Categories();
    });
</script>